<?php include_once 'layout/heardU.php'?>
<body style="background:#f5f5f5;">

<div class="content head_bg">
	<div class="head">
        <a href="javascript:void(0)" class="return_ico" onclick="javascript:history.go(-1);"><span></span></a>
        <h1>订单详情</h1>
    </div>
</div>


<div class="content order_xx_top">
    <div class="com">
        <div class="mdxx">
        	<h3><?php echo $orderExpressInfo['shopInfo']['storename'] ;?></h3>
            <p><?php echo $orderExpressInfo['shopInfo']['address'] ;?></p>
            <a href="tel:<?php echo $orderExpressInfo['shopInfo']['tel'] ;?>"></a>
        </div>
        <div class="shrxx">
        	<h3><?php echo $orderExpressInfo['orderInfo']['receiver'] ?></h3>
            <p><b><?php echo $orderExpressInfo['orderInfo']['receiver_tel'] ?></b></p>
            <p><?php echo $orderExpressInfo['orderInfo']['receiver_address'] ?></p>
        </div>
    </div>
</div>

<div class="content order_xx_com">
	<ul>
        <?php if($orderExpressInfo['orderInfo']['status'] > 0){?>
    	<li>
        	<p>配送方式：</p>
                <span><?php echo Data::$_express_type[$orderExpressInfo['orderInfo']['express_type']] ?></span>
        </li>
        <?php }?>

        <li>
        	<p>物流信息：</p>
            <?php if($orderExpressInfo['orderInfo']['status'] >= 3){
                echo '<span>'.Data::$_express_status[$orderExpressInfo['orderInfo']['status']].'</span>';
            }else{
                echo '<span>派单中</span>';
            }?>
        </li>
        <li>
        	<p>预计送达时间：</p>
            <span><?php echo $orderExpressInfo['express']['shop_delivery_time'] ?> </span>
        </li>
    </ul>
</div>

<div class="content order_xx_com">
	<ul>

        <?php foreach($orderExpressInfo['orderProductInfo'] as $op){
            echo ' <li><p>'.$op['product_name'].'</p><span> ¥'.$op['unit_price'].'</span><span>× '.$op['qty'].'</span></li>	';
        }?>

        <li>
        	<p>共计：</p>
            <span><?php echo count($orderExpressInfo['orderProductInfo'])?>件</span>
        </li>
    </ul>
</div>

<div class="content order_xx_com">
	<ul>
    	<li>
        	<p style="color:#333; font-weight:bold">订单信息：</p>
        </li>
        <li>
        	<p>下单时间：</p>
            <span><?php echo $orderExpressInfo['orderInfo']['order_time'] ?></span>
        </li>
        <li>
        	<p>付款时间：</p>
            <span>2019-01-16 12:10:09</span>
        </li>
        <li>
        	<p>支付方式：</p>
            <span>微信支付</span>
        </li>

        <li>
        	<p>实际支付：</p>
            <span class="text_hs"><?php echo $orderExpressInfo['orderInfo']['actual_pay'] ?>元</span>
        </li>

    <?php if($orderExpressInfo['orderInfo']['status'] > 0){?>
        <li>
            <p>运费：</p>
            <span class="text_hs"><?php echo $orderExpressInfo['express']['express_fee'] ?></span>
        </li>
    <?php }?>

    </ul>
</div>

<?php include_once 'layout/footerU.php'?>